/**
 * 承包队设置 编辑页
 *
 * 作者 admin
 * 日期 2024-07-29 14:19:05
 */
layui.use(['jquery','febs', 'form', 'table'], function () {
    var $ = layui.$,
        febs = layui.febs,
        form = layui.form,
        table = layui.table,
        $view = $('#contractorTeam-detail'),
        tableIns;

    form.render();
    initFormValue();



    function initFormValue() {
        let teamUserList = contractorTeam.teamUserList;
        initTable(teamUserList);

    }


    function initTable(teamUserList) {
        tableIns = febs.table.init({
            elem: $view.find('table'),
            id: 'teamUserTable',
            page: false,
            limit: Number.MAX_VALUE,
            skin: '',
            cols: [[
                {type:'numbers',title:'序号',width:'60'},
                {field: 'userNo', title: '成员工号', minWidth: 160},
                {field: 'uname', title: '成员姓名',minWidth:160},
            ]],
            data:teamUserList
        });

    }




});